package hibari.client.service;

import hibari.client.model.Week;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("weekService")
public interface IWeekService extends RemoteService {
	/**
	 * 주어진 주차로 {@link Week}을 얻습니다.
	 * 
	 * @param weekNumber
	 *            주차.
	 * @return {@link Week}.
	 */
	public Week getWeek(int weekNumber);

	/**
	 * 
	 * @return 마지막 주차를 얻습니다.
	 */
	public Week getLastWeek();
	
	public Integer getLastWeekNumber();

	public List<Week> getAllWeeks();

	List<Integer> getAllWeekNumbers();
}
